package com.chefu.common.net.file.upload;

/**
 * Created by ${wangshuyun} on 2016/10/27 0027.
 *
 *
 * 上传文件 进度监听
 */
public interface OnUploadFileProgressListener<T> {

    void onSuccess(T t);

    void onProgress(long currentBytes, long contentLength, boolean done);

    void onFailure(String message);

    void onNetError();
}
